package com.ayuan.blog.service;

import com.ayuan.blog.common.CrudServiceInterface;
import com.github.pagehelper.PageInfo;

import com.ayuan.blog.domain.Focus;
import com.ayuan.blog.domain.sch.FocusSch;

import java.util.List;


public interface FocusService extends CrudServiceInterface<Focus> {

    PageInfo<Focus> findPage(FocusSch sch);

    Focus getByUserIdAndFocusedUserId(Long userId, Long focusedUserId);

    List<Focus> getListByUserId(Long userId);
}